<?php

namespace app\home\model;

class LimitAmountConfig extends ServerConfig
{

    // 配置对应的ID
    const ID_PERSON_DAY = 1011;
    const ID_PERSON_MONTH = 1012;
    const ID_CHANNEL_DAY = 1013;
    const ID_CHANNEL_MONTH = 1014;

    protected static $IDs = [
        self::ID_PERSON_DAY,
        self::ID_PERSON_MONTH,
        self::ID_CHANNEL_DAY,
        self::ID_CHANNEL_MONTH,
    ];

    /**
     * @return array|false|string
     */
    public function getAllConf(){
        return self::where('ID','in',self::$IDs)->column('Content','ID');
    }

}